home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / cgplwlist / cgplw01501-01750.txt / 000103_syndesis@beta.inc.net_Sat Jan 14 10:22:50 PST 1995.msg < prev    next >
Text File  |  1995-01-22  |  3KB  |  56 lines

  1. Article: 1604 of comp.graphics.packages.lightwave
  2. Xref: netcom.com comp.graphics.packages.lightwave:1604
  3. Path: netcom.com!csus.edu!decwrl!hookup!news.moneng.mei.com!howland.reston.ans.net!news.sprintlink.net!news.inc.net!usenet
  4. From: syndesis@beta.inc.net (John Foust)
  5. Newsgroups: comp.graphics.packages.lightwave
  6. Subject: Cross-platform scene file sharing ideas
  7. Date: 11 Jan 1995 04:27:05 GMT
  8. Organization: Syndesis Corporation
  9. Lines: 41
  10. Message-ID: <3evmmp$3km@beta.inc.net>
  11. NNTP-Posting-Host: t07.inc.net
  12. X-Newsreader: WinVN 0.92.6+
  13.  
  14. I'm trying to think about how cross-platform LightWave users
  15. will be exchanging entire scenes between platforms.
  16.  
  17. Amiga-created LW scene files are ASCII and include LoadObject
  18. lines with Amiga-specific paths to files.  Other platforms
  19. have different rules for representing filename paths.
  20.  
  21. Without some automated schemes for loading scenes, you're
  22. going to see the endless "can't find file XXX, would you like
  23. to select a replacement" dialogs when you move a scene and
  24. its files over to the PC.
  25.  
  26. I've got to solve this problem in InterChange's LightWave converter.
  27. I'm trying to think about the steps that might make it possible 
  28. to automate this process.
  29.  
  30. At a minimum, handling Amiga scenes would be helped by a translation of
  31. the Amiga's forward slashes into backward slashes.  It gets more
  32. difficult when you attempt to munge Amiga names into DOS names, or
  33. handle relative paths like "//objects/ramp.lw".
  34.  
  35. One approach would require the user to duplicate the entire directory
  36. tree on the non-Amiga machine.  You could perform a simple
  37. substitution of any logical drive name with the scene file's drive or
  38. path on the non-Amiga machine, and presumably, the rest of the path
  39. would work.
  40.  
  41. One approach might assume that the scene file resides in a directory
  42. that is the same or above the rest of the object files.
  43. With this, you can use the path on the scene file specification as a
  44. prefix for the other paths stored in the scene file.  For example, if
  45. the Amiga-created scene file was stored on the PC as "D:\tmp\foo.scn"
  46. and it contained LoadObject lines that said "dh10:/lw/scenes/ramp.lw"
  47. then you could remove the entire prefix from the object name and
  48. attempt to open "ramp.lw" in the "D:\tmp" directory.
  49.  
  50. Another approach would be to provide a user interface for setting
  51. equivalences between Amiga logical volumes and PC/SGI locations, then
  52. performing this substitution on the paths in the scene file.
  53.  
  54. Any other ideas?
  55.  
  56.